package com.jeesite.modules.dataScreen.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Set;

/**
 * 角色(SysRole)表实体类
 *
 * @since 2024-09-24 15:29:55
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("bg_manage.sys_role")
public class SysRole extends Model<SysRole> {
    //主键
    @TableId(type = IdType.AUTO)
    private Integer id;
    //名称
    private String name;
    //创建时间
    private Date createAt;

    private Date updateAt;
    //描述
    private String remark;

    //是否管理员
    private Boolean managerUser;

    //是否删除(0否,1是)
    @TableLogic
    private Integer deleted;

    private Integer homeUrl;

    @TableField(exist = false)
    private Set<Integer> menuIds;

    @TableField(exist = false)
    private String homeUrlAddr;
}

